package tmhprediction.optimization;

public class PrepareGridSearchSingleSet {

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		int cMin = Integer.valueOf(args[0]), cMax = Integer.valueOf(args[1]), gMin = Integer.valueOf(args[2]), gMax = Integer.valueOf(args[3]);
		double step = Double.valueOf(args[4]);
		String inFolder = args[5], outFolder = args[6];
		
		String[] sets = {"features_manual_0.arff", "features_manual_1.arff", "features_manual_2.arff"};
		
		for(double i = cMin; i <= cMax; i = i + step)
		{
			for (double j = gMin; j <= gMax; j = j + step)
			{
				int index = 0;
				for (int k= 0 ; k < sets.length; k++)
				{
					System.out.println(
				i+"\t"
				+j+"\t"
				+outFolder+"/"+i+"_"+j+"/"+"\t"
				+inFolder+"/"+sets[k]+"\t"
				+inFolder+"/"+sets[(k+1)%3]+"\t"
				+index
				);
					index++;
				}
				
			}
		}
	}
}
